@charset 'utf-8';
@import '_reset';

@mixin reuse-flex($flex-direction: row, $flex-wrap: nowrap) {
    display: flex;
    flex-wrap: $flex-wrap;
    flex-direction: $flex-direction;
}

%reuse_price {
    align-items: flex-end;
    justify-content: space-around;

    .btn {
        width: 105px;
        height: 26px;
        background-color: #f26b6e;
        position: relative;
        line-height: 26px;
        color: #fff;
        text-align: center;
        margin-left: 30px;
        margin-right: 10px;
        cursor: pointer;
        font-size: 18px;
        text-align: center;

        &::after {
            content: '';
            display: block;
            position: absolute;
            top: -8px;
            right: -8px;
            width: 20px;
            height: 20px;
            border-top: 4px solid #f26b6e;
            border-right: 4px solid #f26b6e;
        }
    }
}

%reuse_title {
    width: 657px;
    height: 139px;
    margin: 0 auto 120px;

    img {
        width: 100%;
        // height: 100%;
    }
}




html,
body {
    min-width: 1360px;
}

.web {
    width: 100%;
    background: #fff;

}

// banner
.banner {
    background: url('../images/bg.png') no-repeat center;
    width: 100%;
    height: 684px;
    background-size: 100% 100%;
}

// main
.main {
    width: 100%;
    background: #f8f3f0;
    overflow: hidden;
}

.con {
    margin: 80px auto 0;

    // 优惠券
    .coupon {
        border: 4px solid #b78b55;
        width: 1100px;
        height: 188px;
        margin: 0 auto;
        @include reuse-flex;
        align-items: center;
        justify-content: space-evenly;
        margin-bottom: 105px;


        .coupon_item {
            box-sizing: border-box;
            text-align: center;
            position: relative;

            &::after {
                content: '';
                display: block;
                border-left: 1px solid #105335;
                width: 0;
                height: 116px;
                transform: rotate(15deg);
                position: absolute;
                top: 0;
                right: -40px;
                box-sizing: border-box;
            }

            &:nth-child(4)::after {
                content: '';
                display: block;
                border: none;
                width: 0;
                height: 0;
                overflow: hidden;
            }

            .sum {
                @include reuse-flex;
                align-items: flex-start;

                img:nth-child(2) {
                    margin: 0 5px;
                }

                span {
                    align-self: flex-end;
                }
            }

            p {
                color: #010101;
                font-size: 18px;
                margin: 5px 0;

            }

            button {
                width: 85px;
                height: 20px;
                background-color: #f46a70;
                border: none;
                color: #fff;
                cursor: pointer;
                line-height: 20px;
                text-align: center;
                font-size: 14px;
            }
        }
    }

    // 时尚潮流款1
    .product {
        width: 1100px;
        margin: 0 auto 60px;
        // @include reuse-flex(column);
        // justify-content: center;

        // 标题
        .tit {
            @extend %reuse_title;
        }


        //现代布艺沙发
        .product_item {
            @include reuse-flex;
            margin-bottom: 60px;
            justify-content: space-evenly;
            align-items: center;

            .left {
                width: 473px;
                height: 341px;

                img {
                    width: 100%;
                    height: 100%
                }

            }

            .right {
                // width: 330px;
                @include reuse-flex(column);
                align-items: flex-end;

                h3 {
                    width: 100%;
                    text-align: right;
                    font-family: SimSun;
                    font-size: 30px;
                    letter-spacing: 1px;
                    color: #000000;
                    border-bottom: 1px solid #7d7d7d;
                    box-sizing: border-box;
                    padding-bottom: 15px;
                }

                .desc {
                    margin: 10px 0 50px;

                    div:nth-child(1) {
                        font-family: SimSun;
                        font-size: 44px;
                        letter-spacing: 2px;
                        color: #bd9c6f;
                    }

                    .wrap {
                        @include reuse-flex;
                        justify-content: flex-end;
                        margin: 30px 0 20px;

                        div {
                            width: 69px;
                            height: 69px;
                            border: 1px solid #7d7d7d;
                            border-radius: 50%;
                            font-family: SimSun;
                            font-size: 18px;
                            letter-spacing: 1px;
                            color: #010101;
                            @include reuse-flex;
                            align-items: center;
                            justify-content: center;
                            box-sizing: border-box;
                            text-align: center;

                            span {
                                width: 40px;
                                white-space: pre-wrap;
                            }
                        }

                        div:nth-child(2) {
                            margin: 0 25px;
                        }
                    }

                    p {
                        font-size: 18px;
                        letter-spacing: 1px;
                        color: #000000;
                        text-align: right
                    }
                }

                .price {
                    @include reuse-flex;
                    @extend %reuse_price;
                }


            }
        }
    }

    // 热销爆款
    .hot_sales {
        background: #ebe3d6;
        // @include reuse-flex(column);
        // justify-content: center;

        .tit {
            font-family: FZLTCHJW--GB1-0;
            font-size: 88px;
            letter-spacing: 61px;
            color: #bd9c6f;
            @include reuse-flex;
            justify-content: center;
            text-align: center;
            align-items: center;
            padding-bottom: 30px;
            background: #f8f3f0;
            box-sizing: border-box;

            span {
                border-right: 4px solid #131212;
                box-sizing: border-box;
                padding-left: 10px;
            }

            span:nth-child(4) {
                border: none;
            }
        }

        .hs_sub {
            box-sizing: border-box;
            padding: 55px 0;
            @include reuse-flex(row, wrap);
            width: 1000px;
            margin: 0 auto;
            justify-content: space-evenly;

            .hs_item {
                width: calc(100% / 3);
                // width: 275px;
                @include reuse-flex(column);
                align-items: center;
                box-sizing: border-box;
                justify-content: center;
                text-align: center;
                margin-bottom: 15px;

                .img {
                    width: 267px;
                    height: 282px;

                    img {
                        width: 100%;
                        height: 100%;
                    }
                }

                .caption {
                    margin: 15px 0 60px;

                    p {
                        font-family: "SourceHanSansCN-Regular";
                        box-sizing: border-box;
                        padding: 5px 15px
                    }

                    p:nth-child(1) {
                        font-size: 24px;
                        letter-spacing: 2px;
                        color: #000;
                        border-bottom: 1px solid #7d7d7d;
                    }

                    p:nth-child(2) {
                        font-size: 33px;
                        letter-spacing: 0px;
                        color: #bd9c6f;
                    }
                }

                .price {
                    @include reuse-flex;
                    @extend %reuse_price;
                }
            }
        }
    }

    // 时尚潮流款2
    .product_mod {
        @include reuse-flex(column);
        justify-content: center;
        margin: 60px 0 125px;

        .tit {
            @extend %reuse_title;
        }

        .sofa {
            @include reuse-flex;
            justify-content: center;
            width: 1210px;
            margin: 0 auto 20px;

            .img {
                width: 581px;
                height: 570px;

                img {
                    width: 100%;
                    height: 100%;
                }
            }

            .sofa_desc {
                position: relative;
                width: calc(100% - 581px);
                box-sizing: border-box;
                padding: 0 25px;
                @include reuse-flex;

                .sofa_section {
                    // width: 370px;
                    text-align: center;

                    .sofa_name {
                        span:nth-child(1) {
                            font-family: "FZXH1JW--GB1-0";
                            font-size: 38px;
                            font-weight: bold;
                            letter-spacing: 0px;
                            color: #ad7c31;
                        }

                        span:nth-child(2) {
                            font-family: "FZZZHUNHJW--GB1-0";
                            font-size: 33px;
                            letter-spacing: -3px;
                            color: #b58946;
                        }
                    }


                    .txt {
                        // width: 299px;
                        font-family: "AdobeHeitiStd-Regular";
                        font-size: 15px;
                        letter-spacing: 2px;
                        color: #c2b197;
                        text-align: center;
                        margin: 30px 0 45px;
                        box-sizing: border-box;

                        p {
                            box-sizing: border-box;
                            padding-bottom: 5px;
                        }
                    }
                }



                .price {
                    font-family: "Microsoft YaHei";

                    del {
                        font-size: 18px;
                        color: #896b4c;
                    }

                    span {
                        font-size: 23px;
                        font-weight: bold;
                        color: #d6353b;
                    }

                }

                .sofa_img {
                    position: absolute;
                    bottom: 0;
                    left: 10px;
                    width: 424px;
                    height: 194px;

                    img {
                        width: 100%;
                        height: 100%;
                    }
                }

                .lamp_img {
                    position: absolute;
                    top: 90px;
                    right: 60px;
                    width: 239px;
                    height: 206px;

                    img {
                        width: 100%;
                        height: 100%;
                    }
                }
            }

            .fx_start {
                justify-content: flex-start;
            }

            .fx_center {
                justify-content: center;
                box-sizing: border-box;
                padding-right: 80px;

                .pa_right {
                    width: 216px;
                    height: 227px;
                    position: absolute;
                    bottom: -20px;
                    right: 10px;

                    img {
                        width: 100%;
                        height: 100%;
                    }
                }

                .lamp_img {
                    width: 150px;
                    height: 143px;
                    top: 60px;
                    left: -15px;

                    img {
                        width: 100%;
                        height: 100%;
                    }
                }
            }

            .right_img {
                width: 576px;
                height: 411px;

                img {
                    width: 100%;
                    height: 100%;
                }
            }
        }
    }

    // 现代小情调
    .table_mod {
        @include reuse-flex;
        justify-content: center;
        margin-bottom: 20px;

        .table_item {
            @include reuse-flex(column);
            width: 325px;
            height: 326px;
            background-color: #e4dace;
            box-sizing: border-box;
            align-items: center;
            justify-content: space-evenly;
            margin: 0 10px;
            padding: 20px 0;

            .table_img {
                width: 265px;
                height: 216px;

                img {
                    width: 100%;
                    height: 100%;
                }
            }

            h3 {
                font-family: "FZXH1JW--GB1-0";
                font-size: 26px;
                font-weight: bold;
                color: #caae85;
            }

            .price {
                font-family: "MicrosoftYaHei";

                del {
                    font-size: 12px;
                    color: #896b4c;
                }

                span {
                    font-size: 14px;
                    font-weight: bold;
                    color: #d6353b;
                }
            }

        }
    }
}

// 页脚
footer {
    height: 75px;
    background: #bd9c6f;
}